package top.jiangqiang.crawler.core.exception;

import org.dromara.hutool.core.text.StrUtil;

/**
 * @author jiangqiang
 * @date 2022-09-29
 */
public abstract class BaseException extends RuntimeException {
    public BaseException() {
        super();
    }

    public BaseException(String reason, Object... params) {
        super(StrUtil.format(reason, params));
    }

    public BaseException(String reason, Throwable cause, Object... params) {
        super(StrUtil.format(reason, params), cause);
    }

    public BaseException(Throwable cause) {
        super(cause);
    }

}
